package com.IR.shop.mapper;

import com.IR.shop.po.Earn;
import com.IR.shop.po.EarnExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EarnMapper {
    long countByExample(EarnExample example);

    int deleteByExample(EarnExample example);

    int deleteByPrimaryKey(Integer earnid);

    int insert(Earn record);

    int insertSelective(Earn record);

    List<Earn> selectByExample(EarnExample example);

    Earn selectByPrimaryKey(Integer earnid);

    int updateByExampleSelective(@Param("record") Earn record, @Param("example") EarnExample example);

    int updateByExample(@Param("record") Earn record, @Param("example") EarnExample example);

    int updateByPrimaryKeySelective(Earn record);

    int updateByPrimaryKey(Earn record);
}